//package ltd.nullpointer.frontend.tcp.resolver;
//
//import ltd.nullpointer.tcp.core.MessageRouter;
//import ltd.nullpointer.tcp.core.TCPMessageHandler;
//import ltd.nullpointer.tcp.core.message.NPiotTCPMessage;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Component;
//
//import java.util.HashMap;
//import java.util.Map;
//
///**
// * @author zhangweilin
// * @Description: xxxxx
// * @date 2019/12/8
// */
//@Component
//public class TCPMessageRouter extends MessageRouter {
//    public static final Map<String, TCPMessageHandler<NPiotTCPMessage>> map = new HashMap<>();
//
//    @Autowired
//    Message557AResolver message557AResolver;
//
//    /**
//     * 更复杂的解析可以在此分发
//     */
//    @Override
//    public void init() {
////        map.put(ByteUtils.hexBytes2HexString(Message557A.BEGIN) + 10, message557AResolver::resolve10);
//    }
//}
